package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.User;

import java.util.List;

public interface User_managementService {
    public void add(User user,Integer[] roles);
    public PageResult pageQuery(QueryPageBean queryPageBean);
    public void deleteById(Integer id);
    public void edit(User user, Integer[] roles);
    public User findById(Integer id);
    List<Integer> findRoleIdsByUserId(Integer id);
}
